package cn.ac.jaas.isc.vegetable.admin.mapper;

import cn.ac.jaas.isc.vegetable.admin.api.entity.SysDeptRelation;
import cn.ac.jaas.isc.vegetable.common.data.datascope.VegetableBaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author 张高昌
 * @date 2022/4/28 13:15
 * @description: 功能描述
 */
@Mapper
public interface SysDeptRelationMapper extends VegetableBaseMapper<SysDeptRelation> {

    /**
     * 删除部门关系表数据
     * @param id 部门ID
     */
    void deleteDeptRelationsById(Integer id);

    /**
     * 更改部分关系表数据
     * @param deptRelation
     */
    void updateDeptRelations(SysDeptRelation deptRelation);

}
